{{#equal active null}}
<a href="{{domain}}articles.html" class="button active">全部</a>
{{else}}
<a href="{{domain}}articles.html" class="button">全部</a>
{{/equal}}

{{#each modules}}
	{{#equal ../active id}}
	<a href="{{../domain}}articles.html?module={{id}}" class="button active">{{name}}</a>
	{{else}}
	<a href="{{../domain}}articles.html?module={{id}}" class="button">{{name}}</a>
	{{/equal}}
{{/each}}